package com.pp.demo.module.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pp.demo.module.user.dto.UserDTO;
import com.pp.demo.module.user.entity.User;
import com.pp.demo.module.user.param.UserCreateParam;
import com.pp.demo.module.user.param.UserUpdateParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pzh
 * @since 2025-07-03 16:01:20
 */
public interface UserService extends IService<User> {

    List<UserDTO> listUser();

    UserDTO getUser(String name);

    Long createUser(UserCreateParam param);

    boolean updateUser(Long id, UserUpdateParam param);

    boolean removeUser(Long id);
}
